package org.example.integration.adapter.org;

import org.example.order.domain.Org;
import org.example.org.api.SdkOrgDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface OrgConverter {
    OrgConverter INSTANCE = Mappers.getMapper(OrgConverter.class);

    Org convert(SdkOrgDTO sdkOrgDTO);

    List<Org> convert(List<SdkOrgDTO> sdkOrgDTOList);
}
